package com.seven.good.dto;

import com.seven.good.pojo.GoodType;

import java.io.Serializable;
import java.util.Arrays;

public class GoodConditionDto implements Serializable {
    private Integer goodType;
    private String searchContext;
    private String orderedField;
    private Boolean desc;
    private Integer[] goodStates;

    @Override
    public String toString() {
        return "GoodConditionDto{" +
                "goodType=" + goodType +
                ", searchContext='" + searchContext + '\'' +
                ", orderedField='" + orderedField + '\'' +
                ", desc=" + desc +
                ", goodStates=" + Arrays.toString(goodStates) +
                '}';
    }

    public Integer getGoodType() {
        return goodType;
    }

    public void setGoodType(Integer goodType) {
        this.goodType = goodType;
    }

    public String getSearchContext() {
        return searchContext;
    }

    public void setSearchContext(String searchContext) {
        this.searchContext = searchContext;
    }

    public String getOrderedField() {
        return orderedField;
    }

    public void setOrderedField(String orderedField) {
        this.orderedField = orderedField;
    }

    public Boolean getDesc() {
        return desc;
    }

    public void setDesc(Boolean desc) {
        this.desc = desc;
    }

    public Integer[] getGoodStates() {
        return goodStates;
    }

    public void setGoodStates(Integer[] goodStates) {
        this.goodStates = goodStates;
    }

    public GoodConditionDto() {
    }
}
